package com.ecoolex.chinadutyfree.retailer.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.chinadutyfree.retailer.core.mapper.GoodsCategoryMarketingMapper;
import com.ecoolex.chinadutyfree.retailer.entity.GoodsCategoryMarketing;
import com.ecoolex.framework.common.pojo.Page;

public interface GoodsCategoryMarketingDAO extends GoodsCategoryMarketingMapper {
	
	long count();
	
	List<GoodsCategoryMarketing> query(@Param("page") Page page);
	
	GoodsCategoryMarketing getForH5(@Param("id") Integer id);
	
	long countByName(@Param("name") String name);
	
	List<GoodsCategoryMarketing> queryByName(@Param("name") String name,@Param("sorts") String sorts,@Param("page") Page page);
}